//
//  UILabel+Extension.swift
//  weibo002
//
//  Created by mac on 10/19/15.
//  Copyright © 2015 mac. All rights reserved.
//

import UIKit

extension UILabel{
    convenience init(title: String, color: UIColor = UIColor.darkGrayColor(), fontsize: CGFloat = 14){
        self.init()
        text = title
        textColor = color
        font = UIFont.systemFontOfSize(fontsize)
        numberOfLines = 0
        textAlignment = NSTextAlignment.Center
    }
}
